package com.usian.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.PageResponseResult;
import com.usian.model.common.dtos.ResponseResult;

/**
 * @author YangRenyu
 * @date 2022.10.7
 */
public interface AdChannelService extends IService<AdChannel> {

    /**
     *
     * @param channelDto
     * @return
     */
    public PageResponseResult findBySearch(ChannelDto channelDto);


    public ResponseResult saveAdchannel(AdChannel adChannel);


    public ResponseResult update(Integer id, AdChannel adChannel) ;


    public ResponseResult deleteById(Integer id);

    public ResponseResult findAll();
}
